<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>File: constants.rb</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
  <script type="text/javascript">
  // <![CDATA[

  function popupCode( url ) {
    window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
  }

  function toggleCode( id ) {
    if ( document.getElementById )
      elem = document.getElementById( id );
    else if ( document.all )
      elem = eval( "document.all." + id );
    else
      return false;

    elemStyle = elem.style;
    
    if ( elemStyle.display != "block" ) {
      elemStyle.display = "block"
    } else {
      elemStyle.display = "none"
    }

    return true;
  }
  
  // Make codeblocks hidden by default
  document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
  
  // ]]>
  </script>

</head>
<body>



  <div id="fileHeader">
    <h1>constants.rb</h1>
    <table class="header-table">
    <tr class="top-aligned-row">
      <td><strong>Path:</strong></td>
      <td>lib/wordnet/constants.rb
      </td>
    </tr>
    <tr class="top-aligned-row">
      <td><strong>Last Update:</strong></td>
      <td>Wed Jul 09 23:04:26 +0000 2008</td>
    </tr>
    </table>
  </div>
  <!-- banner header -->

  <div id="bodyContent">



  <div id="contextContent">

    <div id="description">
      <p>
This is a module containing constants used in the <a
href="../../../classes/WordNet.html">WordNet</a> interface for Ruby. They
are contained in a module to facilitate their easy inclusion in other
namespaces. All constants in this module are also contained in the <a
href="../../../classes/WordNet.html">WordNet</a> namespace itself.
</p>
<p>
E.g.,
</p>
<pre>
      WordNet::Adjective == WordNet::Constants::Adjective
</pre>
<p>
If you do:
</p>
<pre>
      include WordNet::Constants
</pre>
<p>
then:
</p>
<pre>
      Adjective == WordNet::Adjective
</pre>
<h2>Synopsis</h2>
<pre>
  require 'wordnet'
      include WordNet::Constants

      lex = WordNet::Lexicon::new
      origins = lex.lookup_synsets( &quot;shoe&quot;, Noun )
</pre>
<h2>Authors</h2>
<ul>
<li>Michael Granger &lt;ged@FaerieMUD.org&gt;

</li>
</ul>
<h2>Copyright</h2>
<p>
Copyright (c) 2003-2008 The FaerieMUD Consortium. All rights reserved.
</p>
<p>
This module is free software. You may use, modify, and/or redistribute this
software under the terms of the Perl Artistic License. (See <a
href="http://language.perl.com/misc/Artistic.html">language.perl.com/misc/Artistic.html</a>)
</p>
<h2>Version</h2>
<pre>
 $Id: constants.rb 90 2008-07-09 23:02:53Z deveiant $
</pre>

    </div>


   </div>


  </div>


    <!-- if includes -->

    <div id="section">





      


    <!-- if method_list -->


  </div>


<div id="validator-badges">
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>

</body>
</html>